package com.google.gwt.mobile.widgets.event;

import com.google.gwt.dom.client.Element;
import com.google.gwt.event.shared.EventHandler;

/**
 * The Interface SwipeEventHandler.
 */
public interface SwipeEventHandler extends EventHandler {

  /**
   * On swipe up.
   * 
   * @param e the e
   */
  public void onSwipeUp(SwipeEvent e);

  /**
   * On swipe down.
   * 
   * @param e the e
   */
  public void onSwipeDown(SwipeEvent e);

  /**
   * On swipe left.
   * 
   * @param e the e
   */
  public void onSwipeLeft(SwipeEvent e);

  /**
   * On swipe right.
   * 
   * @param e the e
   */
  public void onSwipeRight(SwipeEvent e);

  /**
   * Gets the element.
   * 
   * @return the element
   */
  public Element getElement();
}
